
<!-- End Small Nav -->

<!-- Message OK -->
<script type="text/javascript">
			function hideDiv(divId){
               $("#"+divId).hide('slow');

			}

		</script>

<?php
if(isset($successMessage)){
	?>
<div class="msg msg-ok" id="successMessage">
	<p>
		<strong><?php echo $successMessage;?> </strong>
	</p>
	<a href="#" class="close" onclick="hideDiv('successMessage')">close</a>
</div>
<!-- End Message OK -->
	<?php
}
if(isset($errorMessage)){
	?>
<!-- Message Error -->
<div class="msg msg-error" id="errorMessage">
	<p>
		<strong><?php echo $errorMessage;?> </strong>
	</p>
	<a href="#" class="close" onclick="hideDiv('errorMessage')">close</a>
</div>
<!-- End Message Error -->

	<?php
}
if($action != 'add' && !isset( $client)){
	?>
<!-- Content -->
<!-- Box -->
<div class="box"
	style="width: 1000px; text-align: right">

	<!-- End Box Head-->

	<div class="box-content">


		<a href="<?php echo ADMINBASEURL."$label/add/"; ?>" class="add-button"><span>Add
				new <?php echo ucwords($label);?> </span> </a>&nbsp;&nbsp;

				<?php
				if($label== 'transaction'){
					?>
		<a href="<?php echo ADMINBASEURL."users/add/"; ?>" class="add-button"><span>Add
				new Client</span> </a>
				<?php
				}?>


		<div class="cl">&nbsp;</div>

	</div>
</div>
				<?php
}
?>

<div class="cl">&nbsp;</div>
